<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    .vv1{
        width: 300px;
        height: 300px;
        margin: 100px auto;
        background-color: pink;
        

    }
    .vv1:hover{
        transform: rotate(30deg);
    }
    .vv2{
        width: 200px;
        height: 200px;
        border-top: 1px solid red;
        border-right: 1px solid red;
        /* transform:  rotate(50deg); */
    }
    .vv2:hover{
        transform:  rotate(45deg);
        /* transform: scale(2); */
    }
    </style>
</head>
<body>
    <div class="vv1"></div>
    <div class="vv2"></div>
    <div></div>
</body>
</html>